package com.hwadee.JPKC.dao;

import java.util.List;

import com.hwadee.JPKC.entity.comment;

public interface commentMapper {
//以id删除
    int deleteByPrimaryKey(Integer expertId);
    
    int deleteUID(Integer userId);
//
    int insert(comment record);
//
    int insertSelective(comment comment);
//以id查
    comment selectByPrimaryKey(Integer expertId);
//查所有
    List<comment> getAll();

    int updateByPrimaryKeySelective(comment record);

    int updateByPrimaryKeyWithBLOBs(comment record);

    int updateByPrimaryKey(comment record);
 //查课程id
    List<comment> selectCourseId(Integer courseId);
}